<?php
use yii\helpers\Html;

/* @var $content string */

?>
<?php $this->beginPage() ?>
<html lang="<?= Yii::$app->language ?>">
<head>
    <meta charset="UTF-8">
    <meta content="yes" name="apple-mobile-web-app-capable">
    <meta content="yes" name="apple-touch-fullscreen">
    <meta name="data-spm" content="a215s">
    <meta content="telephone=no,email=no" name="format-detection">
    <meta content="fullscreen=yes,preventMove=no" name="ML-Config">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <title><?= html::encode($this->title);?></title>
    <link rel="stylesheet" href="<?= Yii::getAlias('@web') . '/' ?>css/reset.css">
    <link rel="stylesheet" href="<?= Yii::getAlias('@web') . '/' ?>css/style.css">
    <?php if (isset($this->blocks['inline_styles'])): ?>
        <?= $this->blocks['inline_styles'] ?>
    <?php endif; ?>
    <?= Html::csrfMetaTags() ?>
<script src="<?= Yii::getAlias('@web') . '/' ?>js/jquery-2.1.1.min.js"></script>
<script src="<?= Yii::getAlias('@web') . '/' ?>js/reset.js"></script>
</head>
<body>
<section class="bodyA"><img src="<?= Yii::getAlias('@web') . '/' ?>images/u0.gif" alt=""></section>
<?php $this->beginBody() ?>
<?= $content ?>
<?php $this->endBody() ?>
<script src="<?= Yii::getAlias('@web') . '/' ?>js/run.js"></script>
<script src="<?= Yii::getAlias('@web') . '/' ?>js/touchscroll.js"></script>
<script src="<?= Yii::getAlias('@web') . '/' ?>js/touchscroll.dev.js"></script>
<script>
	$(function($) {
	    var UA=window.navigator.userAgent;  //使用设备
	    var CLICK="click";
	    if(/ipad|iphone|android/.test(UA)){   //判断使用设备
	        CLICK="tap";
	    }
		$(".bodyA").hide();
	});
</script>
<?php if (isset($this->blocks['inline_scripts'])): ?>
    <?= $this->blocks['inline_scripts'] ?>
<?php endif; ?>
</body>
</html>
<?php $this->endPage() ?>